function obj = LoadMachineSettings(obj)
%LOADDEFAULTSETTINGS Summary of this function goes here
%   Detailed explanation goes here

    %% load device settings
    pd = Miscellaneous.PathDelimiter;
    filepath = [Miscellaneous.current_file_path(mfilename('fullpath')) pd '+DefaultSettings' pd];

    obj.ziMaster.loadSettings([filepath 'ziMasterSettings.xml']);
    obj.ziSlave.loadSettings([filepath 'ziSlaveSettings.xml']);

%     %% Default Settings
% %     filename = [filepath 'DefaultSettings.mat'];
% %     settings = load(filename);
% 
%     settings = obj.DefaultValues();
%     obj.CurrentSettings = settings.CurrentSettings;
%     obj.ModSettings     = settings.ModSettings;
%     obj.DemodSettings   = settings.DemodSettings;
%     obj.PIDSettings     = settings.PIDSettings;
%     obj.Conversions     = settings.Conversions;

end

